package com.mycompany.classes
{
  import flash.events.Event;
  // This custom event will be dispatched by the click events
  // of the navigation buttons in the BackNextCancel component.
  // The controller registers events with the application
  // systemManager, which gets all events that bubble. This is
  // at the heart of the MVC architecture in this application.
  public class WizardScreenChangeEvent extends Event{
    public static const WIZARD_SCREEN_CHANGE:String =
"wizardScreenChange";
    public static const WIZARD_SCREEN_BACK:String = "back";
    public static const WIZARD_SCREEN_NEXT:String = "next";
    public static const WIZARD_SCREEN_CANCEL:String = "cancel";
    public var mode:String;
    public function WizardScreenChangeEvent(mode:String){
      super(WIZARD_SCREEN_CHANGE, true);
      this.mode = mode;
    }  
  }
}
